package com.etc.aop;

import java.util.Random;

public class UserService {

    /**
     * 测试的方法
     */
    public void dosomething(){
        System.out.println(" dosomething  begin..........");

        //业务代码
        //模拟
        try {
            Thread.sleep(new Random().nextInt(5000));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        System.out.println(" dosomething  end..........");

    }
}
